<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="_KvS8sPBXEeOtYvXzz5ksgw" targetNamespace="http://camunda.org/schema/1.0/bpmn">
  <process id="testProcess" isExecutable="true">
    <startEvent id="start" />
    <sequenceFlow sourceRef="start" targetRef="task" />
    <serviceTask id="task">
      <extensionElements>
        <camunda:connector>
          <camunda:connectorId>testConnector</camunda:connectorId>
          <camunda:inputOutput>
            <camunda:outputParameter name="out">
              <camunda:script scriptFormat="groovy">
                // test if connector is available
                y = 1
                connector.setVariable('x', y)
              </camunda:script>
            </camunda:outputParameter>
          </camunda:inputOutput>
        </camunda:connector>
      </extensionElements>
    </serviceTask>
    <sequenceFlow sourceRef="task" targetRef="wait" />
    <receiveTask id="wait" />
    <sequenceFlow sourceRef="wait" targetRef="end" />
    <endEvent id="end" />
  </process>
</definitions>
